//
//  CalarViewController.h
//  TimeTest
//
//  Created by LvJianfeng on 16/7/21.
//  Copyright © 2016年 LvJianfeng. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ZZCACircleProgress.h"
@class MonthModel;
//控制器
typedef void (^CalendarSelectDate) (NSDate *date);
typedef void (^CalendarCancel) ();

@interface CalendarViewController : UIViewController

@property (nonatomic, strong) CalendarSelectDate selectDateBlock;
@property (nonatomic, strong) CalendarCancel     cancelBlock;
@property (strong, nonatomic) UICollectionView   *collectionView;
- (void)reloadViewData;

@end

//CollectionViewHeader
@interface CalendarHeaderView : UICollectionReusableView

@end

//UICollectionViewCell
@interface CalendarCell : UICollectionViewCell
@property (weak, nonatomic) UILabel             *dayLabel;
@property (nonatomic, weak)  ZZCACircleProgress *stepCircle;
@property (nonatomic, weak) UIView              *currentDateCircleView;
@property (strong, nonatomic) MonthModel        *monthModel;

@end

//存储模型
@interface MonthModel : NSObject
@property (assign, nonatomic) NSInteger dayValue;
@property (strong, nonatomic) NSDate    *dateValue;
@property (assign, nonatomic) BOOL      isSelectedDay;

@end

